<?php
//测试控制器类
class IndexControl extends PublicControl{
    public function index(){
    	$model = K('ComPosView');
    	$res = $model ->get_info('companyname');
    	// p($res);
    	// 
    	$ResumeView = K('ResumeView');
    	$data = $ResumeView->get_rand();
    	// p($data);
    	$this->assign('data',$data);
    	$this->assign('res',$res);
      	$this->display();
    }

}
?>